package com.doit.day02;

import java.util.Iterator;

public class MyIterable implements Iterable<Hero>{
    @Override
    public Iterator<Hero> iterator() {
        MyIterator myIterator = null;
        try {
            myIterator =  new MyIterator();
        } catch (Exception e) {

        }
        return myIterator;
    }
}
